package com.weseal.controller;

import com.weseal.controller.base.BaseController;
import com.weseal.response.CommonResult;
import com.weseal.utils.CommonUtils;
import com.weseal.vo.BannerVo;
import com.weseal.vo.ConfigVo;
import com.weseal.vo.IndexVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.List;

/**
 * @author weixiaoqing
 * @description
 * @create 2017/9/7
 * @company 上海富捷信息技术有限公司
 */
@Controller()
@RequestMapping("/config")
public class ConfigController extends BaseController {
	
	
	@RequestMapping(value = "/global", method = RequestMethod.GET)
	@ResponseBody
	public CommonResult global() {
		CommonResult result = CommonResult.initSuccess();
		ConfigVo configVo = new ConfigVo();
		configVo.setMallName("weseal");
		result.setData(configVo);
		return result;
		
	}




}
